package com.itheima.service;

import com.itheima.dao.Permission;
import com.itheima.dao.Role;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.List;

public interface IPermissonService {
    PageResult findPageByCondition(QueryPageBean queryPageBean);

    void delete(Integer id);

    Permission findById(Integer id);

    void update(Permission checkItem);

    List<Permission> findAll();

    void add(Permission permission);

    List<Integer> findPermissionIdsByRoleId(Integer id);


}
